{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/builder/css/base.css" media="all">
<style>
    .layui-form-item {
        margin-bottom: 15px !important;
        clear: both;
        *zoom: 1;
    }
</style>
<body>
<div class="layui-fluid layui-anim layui-anim-downbit">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 15px;">
            <form action="{:url('save')}" class="layui-form v3-admin-form" id="form">
                <div class="layui-row">
                 <input type="hidden" id="type" name="type" value="2">

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">业绩</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$amount}" name="performance" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">一星人数</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$num[0]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">二星人数</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$num[1]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">三星人数</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$num[2]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">四星人数</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$num[3]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">五星人数</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$num[4]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">一星应发</label>
                            <div class="layui-input-block">
                                <input type="text" name="amount_1" value="{$user_bonus[0]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">一星实发</label>
                            <div class="layui-input-block">
                                <input type="text" name="actual_1" value="{$user_bonus[0]}" class="layui-input" required/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">二星应发</label>
                            <div class="layui-input-block">
                                <input type="text" name="amount_2" value="{$user_bonus[1]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">二星实发</label>
                            <div class="layui-input-block">
                                <input type="text" name="actual_2" value="{$user_bonus[1]}" class="layui-input" required/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">三星应发</label>
                            <div class="layui-input-block">
                                <input type="text" name="amount_3" value="{$user_bonus[2]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">三星实发</label>
                            <div class="layui-input-block">
                                <input type="text" name="actual_3" value="{$user_bonus[2]}" class="layui-input" required/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">四星应发</label>
                            <div class="layui-input-block">
                                <input type="text" name="amount_4" value="{$user_bonus[3]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">四星实发</label>
                            <div class="layui-input-block">
                                <input type="text" name="actual_4" value="{$user_bonus[3]}" class="layui-input" required/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">五星应发</label>
                            <div class="layui-input-block">
                                <input type="text" name="amount_5" value="{$user_bonus[4]}" class="layui-input" readonly/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">五星实发</label>
                            <div class="layui-input-block">
                                <input type="text" name="actual_5" value="{$user_bonus[4]}" class="layui-input" required/>
                            </div>
                        </div>
                    </div>

                </div>
            </form>
        </div>
    </div>
</div>

<div class="layui-footer" style="left: 0;">
    <button class="layui-btn" type="submit" data-back-url="" lay-filter="save" lay-submit formObj="#form">保存
    </button>
</div>

</body>
{include file="public/footer" /}
</html>